/**
 * 
 * Interface Enter
 * 
 * 这里放api接口
 * 
 */
// const enter = 'http://192.168.0.200/';
const enter = 'http://192.168.0.106/';
// const enter = 'http://192.168.0.200/';
// const enter = 'https://yuntt.weijuyunke.com/'
// const enter = 'http://192.168.0.106/';
// const enter = window.location.origin+'/';

const api = {
	
	// //登录
	staffLogin: 'business/mobile/staffLogin',
	// //个人信息
	// selectId: 'business/mobile/selectId',
	// //修改商家密码
	// ydResetPasswords: 'business/MerchantManagement/ydResetPasswords',
	// //阿里云设置
	// userOssList: 'business/mobile/userOssList',
	// //发布活动
	// releaseIssue: 'business/mobile/issue',
	
	// //活动列表（抖音，视频号）
	// getActivity: 'business/mobile/getActivity',
	// //活动列表 快手
	// getMoveActivity: 'business/mobile/getMoveActivity',
	
	// //删除活动
	// delete: 'business/mobile/delete',
	// //活动详情
	// selectGetId: 'business/mobile/selectGetId',
	// //seo文案
	// seoPage: 'business/mobile/pageList',
	// //视频素材
	// projectPage: 'business/finishProductFolder/selectPage',  // old_:business/mobile/getByPageList
	
	// //查询抖音poi
	// getPoi: 'business/mobile/poi',
	// //查询设备
	// equipmentPage: 'business/mobile/equipmentPage',
	// //使用记录
	// selectPageRechargeRecordId: 'business/mobile/selectPageRechargeRecordId',
	// //中奖记录
	// getWinningRecord: 'business/mobile/getWinningRecord',
	// //视频号活码
	// sphQrCode: 'business/mobile/sphQrCode',
	// // 视频状态
	// sphQrStatus: 'business/mobile/sphQrStatus',
	// // 视频号发布
	// sphQrIssue: 'business/mobile/sphQrIssue',
	// //验证活动核销
	// verificationCode: 'business/mobile/verificationCode',
	// //核销
	// saveVerificationCode: 'business/mobile/saveVerificationCode',
	// //用户数据
	// detailsExplosiveStoreCodes: 'business/MerchantManagement/detailsExplosiveStoreCodes',
	
	// //首页数据
	// mobilePageConfiguration: 'business/mobilePageConfiguration/page',
	// //首页详情
	mCount: 'business/mobilePageConfiguration/mCount',
	// //首页详情
	// indexDetail: 'business/mobilePageConfiguration/pageId',
	// //帮助中心
	// helpList: 'business/shelp/pageList',
	// //帮助中心详情
	// helpDetail: 'business/shelp/pageId',
	// //数据中心头部数据
	videoData: 'business/mobilePageConfiguration/videoData',
	// //更新日志
	// logList: 'business/wjykbisinesslogmanagement/page',
	// //获取OEM logo
	// getSelectDomainName: 'business/systemConfiguration/getSelectDomainName',
	
	
	
	// // ================抖支付
	// 是否启动保存配置
	payTypeInsertSelective: 'business/paytype/insertSelective',
	// 是否启动查询配置
	payTypeSelectByPrimaryKey:'business/paytype/selectByPrimaryMerchantId',
	// 支付查询
	selectByPrimaryMerchantId:'business/merchantpayparameter/selectByPrimaryMerchantId',
	// 支付配置页新增接口
	insertSelective:'business/merchantpayparameter/insertSelective',
	//支付配置页修改接口
	updateByPrimaryKey:'business/merchantpayparameter/updateByPrimaryKey',
	// 云创作成片库 文件夹1
	cloudCreationFile:'business/finishProductFolder/page', 
	// 云创作成片库 seo 
	 cloudCreationSeo:'business/matrix/seo/page',
	// 搜索
	dyPoi:'business/matrix/dypublish/yidongPoi',
	// 查询商家配置
	getMerchantinfo:'business/merchantinfo/getMerchantinfo',
	// 这个是商家更新接口
	updateMerchantinfo:'business/merchantinfo/updateMerchantinfo',
	// 是商家添加接口
	addMerchantinfo:'business/merchantinfo/addMerchantinfo',
	
	// 商家阿里云上传
	alyOssSignature:'business/aliyunoss/mainOssSignature',
	// 活动配置详情
	getActivityconfigList:'business/activityconfig/getActivityconfigList',
	// 获取头部字段
	headStatistics:'business/activitylist/headStatistics',
	// 活动列表查询
	getActivitylist:'business/activitylist/getActivitylist',
	// 活动配置修改
	updateActivityconfig:'business/activityconfig/updateActivityconfig',
	// 活动配置增加
	 addActivityconfig:'business/activityconfig/addActivityconfig',
	 // 活动二维码
	generateDoupayQrCode:'business/activitylist/generateDoupayQrCode',
	// // ================抖支付
	
	// =============新版页面
	// 短信发送
	sendSmsRequest:'business/sitesmsconfig/aly/sendSmsRequest',
	
	// 帮助中心 案例中心查询接口
	getHostSysConfigInfo:'business/hostsystemconfig/getHostSysConfigInfo',
	// 帮助中心详情接口
	
	shelpDetail:'business/shelp/pageId',
	
	// 根据帮助中心 查询列表接口
	 helpPageList:'business/shelp/pageList',
	 // 不分页查询案例中心
	casePageList: 'business/case/caseList',
	// 获取商家的点数
	pageRechargeRecordPageId:'business/MerchantManagement/pageRechargeRecordPageId',
	// 获取小程序个人中心头部信息
	 getPersonalCenterHeadInfo:'business/MerchantManagement/getPersonalCenterHeadInfo',
	 
	 // 获取小程序头部统计
	 getXcxHeadStatistics:'business/MerchantManagement/getXcxHeadStatistics',
	 // 获取小程序个人中心近七天点数使用统计
	 statisticsIn7DaysOnly:'business/MerchantManagement/statisticsIn7DaysOnly',
	 // 商家注册接口
	 register:'business/MerchantManagement/register',
	 // 员工列表
	 staffList:'business/staff/pageList',
	 // 添加员工
	 addStaffList:'business/staff/xcxadd',
	 // 删除员工信息
	 deleteStaff:'business/staff/delete',
	 // 员工冻结
	 staffUpdate:'business/staff/update',
	 // 修改密码
	 updatePassword:'business/MerchantManagement/updatePassword',
	 // 获取首页头部图片
	 getHeadImage:'business/systemConfiguration/getSelectMerchantId',
	 // 案例中心
	   caseList: 'business/case/caseList'         
}

for (let key in api) {
	api[key] = `${enter}${api[key]}`;
}

module.exports = api;